package com.mf.ergate.domain.model.auth;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.Column;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 角色信息Entity
 * User: zhaoming
 * Date: 2019-03-15
 * To change this template use File | Settings | File Templates.
 **/
@Entity
@Table(name="auth_role_info")
public class RoleInfoEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @Id
    private Long id;
    /**
     * 唯一编号
     */
    @Column(name="unique_no", unique = true)
    private String uniqueNo;
    /**
     * 角色编码
     */
    @Column(name="role_code")
    private String roleCode;
    /**
     * 角色名称
     */
    @Column(name="role_name")
    private String roleName;
    /**
     * 角色类型编码
     */
    @Column(name="role_type_code")
    private String roleTypeCode;
    /**
     * 角色类型名称
     */
    @Column(name="role_type_name")
    private String roleTypeName;
    /**
     * 备注
     */
    @Column(name="remark")
    private String remark;
    /**
     * 创建人编号
     */
    @Column(name="create_user_no")
    private String createUserNo;
    /**
     * 创建人名称
     */
    @Column(name="create_user_name")
    private String createUserName;
    /**
     * 创建时间
     */
    @Column(name="create_time")
    private Date createTime;
    /**
     * 修改人编号
     */
    @Column(name="update_user_no")
    private String updateUserNo;
    /**
     * 修改人名称
     */
    @Column(name="update_user_name")
    private String updateUserName;
    /**
     * 修改时间
     */
    @Column(name="update_time")
    private Date updateTime;
    /**
     * 是否删除
     */
    @Column(name="is_delete")
    private Integer isDelete;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUniqueNo() {
        return uniqueNo;
    }

    public void setUniqueNo(String uniqueNo) {
        this.uniqueNo = uniqueNo;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRoleTypeCode() {
        return roleTypeCode;
    }

    public void setRoleTypeCode(String roleTypeCode) {
        this.roleTypeCode = roleTypeCode;
    }

    public String getRoleTypeName() {
        return roleTypeName;
    }

    public void setRoleTypeName(String roleTypeName) {
        this.roleTypeName = roleTypeName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreateUserNo() {
        return createUserNo;
    }

    public void setCreateUserNo(String createUserNo) {
        this.createUserNo = createUserNo;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUserNo() {
        return updateUserNo;
    }

    public void setUpdateUserNo(String updateUserNo) {
        this.updateUserNo = updateUserNo;
    }

    public String getUpdateUserName() {
        return updateUserName;
    }

    public void setUpdateUserName(String updateUserName) {
        this.updateUserName = updateUserName;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }
}
